<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>联动菜单</title>
</head>
<script src="jquery.js" type="text/javascript"></script>
<script type="text/javascript">
       $(document).ready(function(){
           $("#province").change(function(){
               $("#province option").each(function(i,o){
                   if($(this).attr("selected"))
                   {
                       $(".city").hide();
                       $(".city").eq(i).show();
                   }
               });
           });
           $("#province").change();
       });
</script>
</head>
<body>
		<select name="cs1" id="cs1">
			<option value="dl1">大类1</option>
			<option value="dl2">大类2</option>
			<option value="dl3">大类3</option>						
		</select>  
		<select name="cs2" id="cs2">		
			<option value="dl1">大类1</option>
			<option value="dl2">大类2</option>
			<option value="dl3">大类3</option>						
		</select>
		<select name="cs3" id="cs3">		
			<option value="dl1">大类1</option>
			<option value="dl2">大类2</option>
			<option value="dl3">大类3</option>						
		</select>   
</body>
</html>
